Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load modules for mix recompile in parallel #14004

Closed
wants to merge 1 commit into from
Closed

Conversation

josevalim
Copy link
Member

No description provided.

# we want to do it inside the task too. Modules being deleted
# are uncommon, so this optimizes the common case.
{mod,
Code.ensure_loaded?(mod) and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't that effectively synchronize on code_server?

Copy link
Member Author

@josevalim josevalim Nov 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code loading happens mostly on the caller since Erlang/OTP 26, serializing only if there are on_load callbacks.

@josevalim
Copy link
Member Author

Closing in favor of #14006.

@josevalim josevalim closed this Nov 21, 2024
@josevalim josevalim deleted the jv-load-parallel branch November 21, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants